package com.guang.springbootjacson.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @author liguang
 * @date 2022/6/1 17:37
 */
@Data
public class ResponseData {
    // 实际：{"id":666}
    // 但是想要：{"id":"666"}
    @JsonFormat(shape = JsonFormat.Shape.STRING )
    private Integer id;
}
